//
// Unihan Input Method
//
// Copyright © 2002-2007 Sun Wah Linux Ltd.
//
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
// USA
//
// $Id: handle.h 757 2007-05-10 08:19:31Z roger $
//

#ifndef _HANDLE_H
#define _HANDLE_H

int handle_key_event(UnihanIM *uim, IMKeyEvent *kev);
int handle_switch_event(UnihanIM *uim, IMSwitchEvent *sev);
int handle_focus_event(UnihanIM *uim, IMFocusEvent *fev);
int handle_config_change_event(UnihanIM *uim, IMConfigChangeEvent *ccev);
#if NEW_PROPERTY
static int handle_property_toggled_event(UnihanIM * uim, IMPropertyToggledEvent * ev);
static int handle_property_register_event(UnihanIM * uim, IMPropertyRegisterEvent * ev);
#endif
int handle_symbol_user_table_event(UnihanIM *uim, IMUserTableEvent *utev);
int handle_word_user_table_event(UnihanIM *uim, IMUserTableEvent *utev);

#endif /* _HANDLE_H */

// vi:ts=4:nowrap:cin:expandtab
